import request from '@/utils/request.js'
// 校称：读取物料校称结果
export const GetMaterielWeighing = (params) => {
  return request.get('ProductManager/KCClient/GetMaterielWeighing', { params: params })
}
// 校称：保存物料校称结果
export const SaveMaterielWeighing = (params) => {
  return request.post('ProductManager/KCClient/SaveMaterielWeighing', params)
}
// 获取物料信息
export const GetMaterielsDetailByFilter = (params) => {
  return request.post('ProductManager/KCClient/GetMaterielsDetailByFilter', params)
}
// 校称：读取当前厂家面料明细
export const GetMaterielsDetailByCustomer = (params) => {
  return request.get('ProductManager/KCClient/GetMaterielsDetailByCustomer', { params: params })
}

// 库位打印 获取库位树结构
export const GetShelfLocationTree = (params) => {
  return request.post('ProductManager/KCClient/GetShelfLocationTree', params)
}

// 库位打印 获取库位信息
export const GetShelfLocationTB = (params) => {
  return request.post('ProductManager/ShelfLocation/GetShelfLocationTB', params)
}

// 垛架列表信息
export const GetStackList = (params) => {
  return request.post('ProductManager/StackLocation/GetStackList', params)
}
